/* 认证页面样式（登录/注册/忘记密码） */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #1890ff;
    outline: none;
}

/* 表单操作 */
.form-actions {
    margin-top: 30px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #1890ff;
    color: white;
}

.btn-primary:hover {
    background: #40a9ff;
}

/* 页脚链接 */
.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #1890ff;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer p {
    margin: 10px 0;
}

/* 错误提示 */
.error-message {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 5px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .auth-card {
        padding: 20px;
        box-shadow: none;
        border: 1px solid #eee;
    }
}
